package com.ibuonline.b2b.shop.service;

import java.io.File;
import java.util.List;

import com.dimeng.common.base.BaseService;
import com.ibuonline.b2b.entity.ShopBanner;
import com.ibuonline.b2b.entity.ShopBannerCategory;

public interface ShopBannerService extends BaseService<ShopBanner>{

	int countRecord(ShopBanner shopBanner);

	List<ShopBanner> pagingShopBanner(ShopBanner shopBanner, int start, int pageSize);

	List<ShopBannerCategory> loadShopBannerCategory();
	
	List<ShopBannerCategory> getAllShopBannerCategory();
	void saveShopBanner(ShopBanner shopBanner, File shopBannerPhoto, String shopBannerPhotoFileName);
	
	void generateCatName(List<ShopBannerCategory> shopBannerCategorys, ShopBanner shopBanner);

}
